import request from "@/api/request";

const taskList = data =>{
    return request.post({
        url:'/pred/task/list',
        data:data
    })
}

const imgsList = data =>{
    return request.post({
        url:'/pred/task/imgsList',
        data:data
    })
}

const runTask = data =>{
    return request.post({
        url:'/pred/task/runTask',
        data:data
    })
}

const runImg = data =>{
    return request.post({
        url:'/pred/task/runImg',
        data:data
    })
}
export default {
    taskList,
    imgsList,
    runTask,
    runImg
}